public class test8 {
    static void main() {
getLength(5,2);
    }
    static void getLength(double length, double sqrt) {
        double result = (length + sqrt) * 2;
        System.out.println(result);
    }
}
